package com.ls.rbac.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liusheng
 * @since 2025--06--28
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("sys_role_permission")
@Schema(name = "RolePermission", description = "")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
    @Schema(description = "角色id")
    private Integer roleId;

    /**
     * 权限id
     */
    @Schema(description = "权限id")
    private Integer permissionId;
}
